/*
Copyright (C) 2009 Matthew Perry

This library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This libary/program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

using System;
using System.Collections.Generic;

namespace BaseTools.XS
{
	/// <summary>
	/// Description of AppInfo.
	/// </summary>
	public class AppInfo
	{
		/// <summary>
		/// The executable location
		/// </summary>
		public string Location;
		
		/// <summary>
		/// The command to execute
		/// </summary>
		public Dictionary<string, string> Commands;
		
		/// <summary>
		/// Create new AppInfo
		/// </summary>
		/// <param name="location">The executable location</param>
		/// <param name="commands">The command to execute</param>
		public AppInfo(string location, Dictionary<string, string> commands)
		{
			this.Location = location;
			this.Commands = commands;
		}
		
		/// <summary>
		/// Create new AppInfo
		/// </summary>
		/// <param name="location">The executable location</param>
		public AppInfo(string location)
		{
			this.Location = location;
			this.Commands = new Dictionary<string, string>();
		}
	}
}
